﻿using System;

namespace Boxi.Model
{
    public struct PlayerModel
    {
        public enum PlayerType
        {
            Human,
            Computer,
            Remote
        }
        /// <summary>
        /// 
        /// </summary>
        public String Name
        {
            get
            {
                return _name;
            }
        }
        private String _name;

        /// <summary>
        /// 
        /// </summary>
        public Byte Moves
        {
            get
            {
                return _moves;
            }
            set
            {
                _moves = value;
            }
        }
        private Byte _moves;

        /// <summary>
        /// 
        /// </summary>
        public Byte Points
        {
            get
            {
                return _points;
            }
            set
            {
                _points = value;
            }
        }
        private Byte _points;

        /// <summary>
        /// 
        /// </summary>
        public Byte Turns
        {
            get
            {
                return _turns;
            }
            set
            {
                _turns = value;
            }
        }
        private Byte _turns;

        /// <summary>
        /// 
        /// </summary>
        public SByte PlayerID
        {
            get
            {
                return _playerID;
            }
        }
        private SByte _playerID;

        /// <summary>
        /// 
        /// </summary>
        public PlayerType TypeOfPlayer
        {
            get
            {
                return _typeOfPlayer;
            }
            set
            {
                _typeOfPlayer = value;
            }
        }
        private PlayerType _typeOfPlayer;

        public PlayerModel(SByte playerID, String name, PlayerType typeOfPlayer)
        {
            _playerID = playerID;
            _name = name;
            _typeOfPlayer = typeOfPlayer;
            _moves = 0;
            _points = 0;
            _turns = 0;
        }
        #region Methods

        #endregion
    }
}

